<template>
  <div class="new">
    <div class="title">星期一到星期四·新品首发</div>
    <van-card
      v-for="item in hotGoodsList"
      :key="item.id"
      :price="item.retail_price.toFixed(2)"
      :desc="item.goods_brief"
      :title="item.name"
      :thumb="item.list_pic_url"
    />
  </div>
</template>
 
<script>
export default {
  props: ["hotGoodsList"],
  components: {
  },
};
</script>
 
<style lang = "less" scoped>
.new {
  background: #fff;
  margin-top: 20px;
}
/deep/.van-card__price-integer{
  color: darkred;
}
/deep/.van-card__title{
  font-size: 16px;
}
/deep/.van-card__desc{
  color: #666;
  margin-top: 10px;
}
</style>